package com.xiaoy.javamaildemo.enums;

public enum FolderTypeEnum {

    INBOX("INBOX","收件箱文件夹"),
    SEND("已发送","已发送文件夹"),
    DELETED("已删除邮件","已删除文件夹"),
    DRAFT("草稿","草稿文件夹"),
    JUNK_MAIL("垃圾邮件","垃圾箱文件夹");

    private String code;
    private String msg;

    FolderTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
